package hello;
import java.util.List;
import java.util.stream.Collectors;

public class TransReqBody {
    public String to;
    public List<String> texts;
    public List<String> getHackTexts() {
        return texts.stream().map(s -> String.format("<p> %s </p>", s)).collect(Collectors.toList());
    }
}